@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './topbar.scss';
body {
  // height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  background-color: #fafafa;
}

label {
  // font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  // height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}
.container {
  padding: 0 10px 20px;
  height: calc(100vh - 120px);
  display: block;
  overflow: auto;
  display: flex;
  flex-direction: column;

  &.bg {
    background-color: #fff;
  }

  &::before {
    content: "";
    display: block;
    clear: both
  }
}
.el-dialog {
  border-radius: 0.625rem 0.625rem 0.625rem 0.625rem;

  .el-dialog__header {
    background-color: cornflowerblue;
    border-radius: 0.625rem 0.625rem 0 0;

    .el-dialog__title {
      color: #fff;

    }

    .el-icon-close {
      color: #fff;
    }
  }

  .el-dialog__footer {
    border-radius: 0 0 0.625rem 0.625rem;
  }
}
/* 设置滚动条的宽度和背景颜色 */
::-webkit-scrollbar {
  width: 5px; /* 对于水平滚动条 */
  height: 10px; /* 对于垂直滚动条 */
}
 
/* 滚动条轨道的样式 */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* 或者你想要的任何颜色 */
}
 
/* 滚动条的样式 */
::-webkit-scrollbar-thumb {
  background: #888; /* 或者你想要的任何颜色 */
}
 
/* 当鼠标悬停在滚动条上时的样式 */
::-webkit-scrollbar-thumb:hover {
  background: #555; /* 或者你想要的任何颜色 */
}
::v-deep .el-menu .is-active{
  background: red !important;
}



.ml20{
  margin-left: 20px;
}
.mt15{
  margin-top: 15px;
}
.disflex{
  display: flex;
}
.flexcolumn{
  flex-direction: column;
}
.spacebetween{
  justify-content: space-between;
}
.spacecenter{
  justify-content: center;
}
.flex-start{
  align-items: flex-start ;
}
.flex-end{
  align-items: flex-end;
}
.align-center{
  align-items: center;
}
.tablediv{
  margin-top: 2px;
  width:100%;
  padding: 10px 20px 40px 20px;
  background-color:#fff;
  border-radius:4px;
}
.box-card{
  padding-top:10px;
  border: none !important;
}
.box-card .el-form-item{
  margin-bottom:10px !important ;
}
.box-card .el-card__body{
  padding: 5px 20px;
}
.tab-card{
  border: none !important;
}
.btncolor{
  background-color: cornflowerblue;
}
.querydiv{
  padding: 20px 20px 0px 20px;
  border-radius:4px;
  background-color:#fff;
}
.edit{
  color:#67c23a
}
.del{
  color: #e6a23c;
}
.btn{
  width: 100px;
  padding:8px 20px
}
.pdb60{
  padding-bottom: 40px;
}
.pdleft20{
  padding-left: 20px;
}
.pd-x20{
  padding:20px 0;
}
.mb15{
  margin-bottom: 15px;
}